package com.mszlu.blog.admin.service;

import com.mszlu.blog.admin.model.params.PageParam;
import com.mszlu.blog.admin.pojo.Permission;
import com.mszlu.blog.admin.vo.Result;

/**
 * Created with IntelliJ IDEA.
 * User: SJP
 * Date: 2022/3/7
 * Time: 19:28
 *
 * @author sjp
 * Description: No Description
 */
public interface PermissionService {

    Result listPermission(PageParam pageParam);

    Result add(Permission permission);

    Result update(Permission permission);

    Result delete(Long id);
}
